<script language="JavaScript">
    function ValidarEmail(form)
    { 
        if(form.email.value == ""){
            alert("Por favor ingrese el su email. "); 
            form.email.focus(); 
            return;
        }

        document.location.replace('./index?accion=recordarContrasenia&'+
                                   'email='+ form.email.value );
    }

</script>

<div align="center">
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td class="hTituloContenidoHome"><div class="HTextoBlanc13PxCenter">Recuperar contrase&ntilde;a: </div></td>
            
        </tr>
    </table>    
    <form method="post" id="form" action="Validar(this.form)" >
        <table width="100%" cellpadding="0" cellspacing="0" class="fondoFomularios">
            <tr>
                <td class="textfield">
                    <div align="left">        
                        Para recuperar tu contrase&ntilde;a ingresa a continuacion tu e-mail:
                    </div>
                </td>
            </tr>
            <tr>
                <td class="textoFormularios">
                    <div align="center">        
                        E-mail: <input id="email" name="email" type="text" value="" />
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <div align="center">
                        <input name="enviar" type="button" class="boton2" value="Volver" onclick="javascript:document.location.replace('index?<%=(String) session.getAttribute("atributosUrl")%>');" />
                        &nbsp;
                        <input name="enviar" type="button" class="boton2" value="Recuperar" onclick="ValidarEmail(this.form)" />
                    </div>
                </td>
            </tr>
        </table>
    </form>
</div>
